class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.boolean :admin, :default=>1
      t.string :codename
      t.string :password
      t.timestamps
    end
    User.create(:codename=>'quazzar', :password=>'KINmor)^')
  end

  def self.down
    drop_table :users
  end
end
